package com.corecode.common.pool;

/**
 * 
 * @author luowei
 *
 */
public interface PoolableObjectFactory {
	
	public Object makeObject() throws Exception;
	
	public void destoryObject(Object obj) throws Exception;
	
	public boolean validateObject(Object obj) throws Exception;
	
	public void passivateObject(Object obj) throws Exception;
}
